package com.lei.demo.abstrct.impl;

import com.lei.demo.abstrct.AbstractFactory;
import com.lei.demo.simple.Cpu;
import com.lei.demo.simple.Mainboard;
import com.lei.demo.simple.impl.AmdCpu;
import com.lei.demo.simple.impl.AmdMainboard;

public class AmdFactory implements AbstractFactory {

	public Cpu createCpu() {
		return new AmdCpu(938);
	}

	public Mainboard createMainboard() {
		return new AmdMainboard(938);
	}

}
